using System.ComponentModel;

namespace Chaotic.DataBase.DBAccessLibrary.Common;

[Serializable]
public class BasePropertyChange : INotifyPropertyChanged
{
	[field: NonSerialized]
	public event PropertyChangedEventHandler? PropertyChanged;

	public void RegistProperty(string funcname)
	{
		if (this.PropertyChanged != null)
		{
			this.PropertyChanged(this, new PropertyChangedEventArgs(funcname));
		}
	}
}
